Chat Microservice AsyncAPI 1.0.0

AsyncAPI for the chat microservice. Transport: RabbitMQ (AMQP). The service subscribes to events produced by other services.

  • #chat

Servers

  • amqp://admin:admin@localhost:5672amqprabbitmq

    Local RabbitMQ broker

Operations

  • SUB ChatQuestionAskedEvent

    Queue with questions asked by the chat flow.

    Handle incoming question events

    Operation IDhandleChatQuestionAsked

    Available only on servers:

    Accepts the following message:

    ChatQuestionAsked

    Question asked by the user during chat.

    Message IDChatQuestionAsked
    object

    Examples

  • SUB ChatInterviewCompletedEvent

    Queue with interview completed events.

    Handle interview completion

    Operation IDhandleChatInterviewCompleted

    Available only on servers:

    Accepts the following message:

    ChatInterviewCompleted

    Interview flow finished with computed profile.

    Message IDChatInterviewCompleted
    object

    Examples

  • SUB ChatInappropriateRequestEvent

    Queue with inappropriate request notifications.

    Handle inappropriate requests

    Operation IDhandleChatInappropriateRequest

    Available only on servers:

    Accepts the following message:

    ChatInappropriateRequest

    The request was flagged as inappropriate.

    Message IDChatInappropriateRequest
    object

    Examples

Messages

  • #1ChatQuestionAsked

    Question asked by the user during chat.

    Message IDChatQuestionAsked
    object
  • #2ChatInterviewCompleted

    Interview flow finished with computed profile.

    Message IDChatInterviewCompleted
    object
  • #3ChatInappropriateRequest

    The request was flagged as inappropriate.

    Message IDChatInappropriateRequest
    object